package com.bwhx.eruler.service;

import java.io.Serializable;
import java.util.List;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.Buyer;

public interface BuyerService {
	
	public List<Buyer> list(Page p);
	public Integer count(Buyer b);

	
	public List<Buyer> find(Buyer buyer);
	public Buyer get(Serializable id);
	public void insert(Buyer buyer);
	public void update(Buyer buyer);
	public void delete(Serializable id);
	public void delete(Serializable[] ids);
	public List<Buyer> findByName(String buyer);
	public int insertSN();
	public void inputBuyer(Buyer s);
	
	public List<Buyer> listAll();
	public Buyer findByLoginName(String getsLoginName);
	public Buyer findByBName(String getbName);
	public Buyer getBySDKID(String string);
	public Buyer findByBNameAndBCode(Buyer buyer);

}
